<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/js-base64@3.6.0/base64.min.js"></script>
<script>

    var originUrl = 'http://127.0.0.1:8080/stream?fileName=《Java开发手册》v1.5.0 华山版.pdf'; //要预览文件的访问地址
    var previewUrl = originUrl + '&fullfilename=《Java开发手册》v1.5.0 华山版.pdf'
    window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(previewUrl)));

</script>
</html>